package main.java.com.cooljie.service;

import com.cooljie.entity.Student;

import java.util.List;

/**
 * Created by ACER on 2017/5/22.
 */
public interface StudentService {
    Student findStudentById(Integer id);
    Integer   deleteById(Integer id);
    int insertData(Student student);
    int updateStudent(Student student);
    List<Student> selectStudentByPage(Integer pageOffset, Integer pageSize);
    int allPages();
    int     selectAllPages(String sno, String name);
 List<Student>  search(String sno, String name, Integer pageOffset, Integer pageSize);
}
